package com.jxsz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @TableName t_dept
 */
@TableName(value ="t_dept")
@Data
public class TDept implements Serializable {
    @Schema(description = "部门Id")
    @TableId(type = IdType.AUTO)
    private Integer deptId;
    @Schema(description = "部门名称")
    @TableField("dept_name")
    private String deptName;

}